package com.zixi.ai.common.dto;

import lombok.Data;

/**
 * @author wfg
 */
@Data
public class DataValue<T> {
    public DataValue(String name, T value) {
        this.name = name;
        this.value = value;
    }

    public DataValue(Long id, String name, T value) {
        this.id = id;
        this.name = name;
        this.value = value;
    }

    private Long id;
    private String name;
    private T value;
}
